﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace HouseProperty_serve.Controllers
{
    public class SystemController : ApiController
    {
        House.BLL.SystemBLL bll = new House.BLL.SystemBLL();
        /// <summary>
        /// 部门表显示
        /// </summary>
        /// <returns></returns>
        //public IEnumerable<Host.Modle.Branch> Get()
        //{
        //    return bll.bumen();
        //}
        /// <summary>
        /// 表显示
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public IEnumerable<Host.Modle.Power> Get()
        {
            var list = bll.SelectEntity<Host.Modle.Power>();
            return list;
        }
    }
}
